3.8.82 \(\int \frac {x (a+b x)}{\sqrt {c x^2}} \, dx\) [782]

Optimal. Leaf size=32 \[ \frac {a x^2}{\sqrt {c x^2}}+\frac {b x^3}{2 \sqrt {c x^2}} \]

[Out]

a*x^2/(c*x^2)^(1/2)+1/2*b*x^3/(c*x^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {15} \begin {gather*} \frac {a x^2}{\sqrt {c x^2}}+\frac {b x^3}{2 \sqrt {c x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x*(a + b*x))/Sqrt[c*x^2],x]

[Out]

(a*x^2)/Sqrt[c*x^2] + (b*x^3)/(2*Sqrt[c*x^2])

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[a^IntPart[m]*((a*x^n)^FracPart[m]/x^(n*FracPart[m])), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {x (a+b x)}{\sqrt {c x^2}} \, dx &=\frac {x \int (a+b x) \, dx}{\sqrt {c x^2}}\\ &=\frac {a x^2}{\sqrt {c x^2}}+\frac {b x^3}{2 \sqrt {c x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 23, normalized size = 0.72 \begin {gather*} \frac {x^2 (2 a+b x)}{2 \sqrt {c x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x*(a + b*x))/Sqrt[c*x^2],x]

[Out]

(x^2*(2*a + b*x))/(2*Sqrt[c*x^2])

________________________________________________________________________________________

Mathics [A]
time = 1.75, size = 17, normalized size = 0.53 \begin {gather*} \frac {x^2 \left (a+\frac {b x}{2}\right )}{\sqrt {c x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

mathics('Integrate[(x^1*(a + b*x))/Sqrt[c*x^2],x]')

[Out]

x ^ 2 (a + b x / 2) / Sqrt[c x ^ 2]

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 20, normalized size = 0.62

method result size
gosper \(\frac {x^{2} \left (b x +2 a \right )}{2 \sqrt {c \,x^{2}}}\) \(20\)
default \(\frac {x^{2} \left (b x +2 a \right )}{2 \sqrt {c \,x^{2}}}\) \(20\)
trager \(\frac {\left (b x +2 a +b \right ) \left (-1+x \right ) \sqrt {c \,x^{2}}}{2 c x}\) \(27\)
risch \(\frac {a \,x^{2}}{\sqrt {c \,x^{2}}}+\frac {b \,x^{3}}{2 \sqrt {c \,x^{2}}}\) \(27\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(b*x+a)/(c*x^2)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/2*x^2*(b*x+2*a)/(c*x^2)^(1/2)

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 22, normalized size = 0.69 \begin {gather*} \frac {b x^{2}}{2 \, \sqrt {c}} + \frac {\sqrt {c x^{2}} a}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b*x+a)/(c*x^2)^(1/2),x, algorithm="maxima")

[Out]

1/2*b*x^2/sqrt(c) + sqrt(c*x^2)*a/c

________________________________________________________________________________________

Fricas [A]
time = 0.30, size = 19, normalized size = 0.59 \begin {gather*} \frac {\sqrt {c x^{2}} {\left (b x + 2 \, a\right )}}{2 \, c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b*x+a)/(c*x^2)^(1/2),x, algorithm="fricas")

[Out]

1/2*sqrt(c*x^2)*(b*x + 2*a)/c

________________________________________________________________________________________

Sympy [A]
time = 0.21, size = 27, normalized size = 0.84 \begin {gather*} \frac {a x^{2}}{\sqrt {c x^{2}}} + \frac {b x^{3}}{2 \sqrt {c x^{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b*x+a)/(c*x**2)**(1/2),x)

[Out]

a*x**2/sqrt(c*x**2) + b*x**3/(2*sqrt(c*x**2))

________________________________________________________________________________________

Giac [A]
time = 0.00, size = 21, normalized size = 0.66 \begin {gather*} \frac {\frac {1}{2} b x^{2}+a x}{\sqrt {c} \mathrm {sign}\left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(b*x+a)/(c*x^2)^(1/2),x)

[Out]

1/2*(b*x^2 + 2*a*x)/(sqrt(c)*sgn(x))

________________________________________________________________________________________

Mupad [B]
time = 0.22, size = 19, normalized size = 0.59 \begin {gather*} \frac {2\,a\,\left |x\right |+b\,x\,\sqrt {x^2}}{2\,\sqrt {c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*(a + b*x))/(c*x^2)^(1/2),x)

[Out]

(2*a*abs(x) + b*x*(x^2)^(1/2))/(2*c^(1/2))

________________________________________________________________________________________